package com.example.blog.dto.trivia;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
public class DelTriviaDto {
   @NotBlank(message = "不能为空")
   private String delImg;
   @NotBlank(message = "不能为空")
   @Min(value = 1,message = "最小值为1")
   private Long id;
}
